package models;

import javax.xml.bind.annotation.XmlRootElement;


@XmlRootElement(name="answer")
public class Answer {

	private String text;
	private boolean correct;
	
	public Answer(){
		
	}
	
	public Answer(String text, boolean correct){
		this.text = text;
		this.correct = correct;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public boolean isCorrect() {
		return correct;
	}

	public void setCorrect(boolean correct) {
		this.correct = correct;
	}
	
}
